<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <META HTTP-EQUIV="pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
    <META HTTP-EQUIV="expires" CONTENT="0">
    <title></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../css/public.css" media="all" />
    <link rel="stylesheet" href="../../css/june.css" media="all" />
</head>

<body class="childrenBody">
    <form class="layui-form">
        <blockquote class="layui-elem-quote quoteBox">
            <form class="layui-form" enctype="" type="">
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" name="order_no" id="order_no" placeholder="订单号" />
                </div>
                <!-- <div class="layui-input-inline">
                    <select name="status" id="status">
                        <option value="">请选择到账状态</option>
                        <option value="0">未到账</option>
                        <option value="1">已到账</option>
                    </select>
                </div> -->
                <div class="layui-input-inline">
                    <select name="orderBy" id="orderBy">
                        <option value="1">升序</option>
                        <option value="0">降序</option>
                    </select>
                </div>
                <div class="layui-input-inline">
                    <select name="verify_status" id="verify_status">
                        <option value="">请选择审核状态</option>
                        <option value="0">待审核</option>
                        <option value="1">已审核</option>
                        <option value="-1">已驳回</option>
                    </select>
                </div>
                <div class="layui-input-inline width150">
                    <input type="text" class="layui-input" id="minDate" placeholder="开始日期" />
                </div>
                <div class="layui-inline">&nbsp;至&nbsp;</div>
                <div class="layui-input-inline width150">
                    <input type="text" class="layui-input" id="maxDate" placeholder="结束日期" />
                </div>
                <div class="layui-inline">
                    <a class="layui-btn search_btn" data-type="reload">查询</a>
                    <a class="layui-btn layui-btn-normal" id="refund">订单退款</a>
                </div>
                <div class="layui-inline">
                    <!--<a class="layui-btn layui-btn-normal add_btn">添加订单</a>-->
                    <!--<a class="layui-btn layui-btn-danger delAll_btn">批量删除</a>-->
                </div>

            </form>
        </blockquote>
        <table id="listTable" lay-filter="list"></table>
        <!--操作-->
        <script type="text/html" id="listBar">
            {{#  if(d.verify_status == 0){ }}
            <a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="audit">审核</a>
            <a class="layui-btn layui-btn-xs" lay-event="reject">驳回</a>
            {{# }else if(d.verify_status != 0 ){ }}
            <a class="layui-btn layui-btn-xs layui-btn-disabled ">审核</a>
            <a class="layui-btn layui-btn-xs layui-btn-disabled">驳回</a>
            {{# }  }}
        </script>
        <!--使用状态-->
        <script type="text/html" id="listStatus">
            {{#  if(d.status == 0){ }}
            <span>未到账</span>
            {{# }else if(d.status == 1){ }}
            <span style="color:green;">已到账</span>
            {{#  }  }}
        </script>
        <!--使用状态-->
        <script type="text/html" id="transferType">
            {{#  if(d.verify_status == 1){ }}
                {{#  if(d.transfer_type == 0){ }}
                <span style="color:blue;">手动转</span>
                {{# }else if(d.transfer_type == 1){ }}
                <span style="color:green;">第三方</span>
                {{# }else if(d.transfer_type == 2){ }}
                <span style="color:red;">微信转</span>
                {{#  }  }}
            {{# }else{ }}
            <span>未知</span>
            {{#  }  }}
        </script>
        <!--审核状态-->
        <script type="text/html" id="listVerify_status">
            {{#  if(d.verify_status == 0){ }}
            <span>待审核</span>
            {{# }else if(d.verify_status == 1){ }}
            <span style="color:green;">已审核</span>
            {{# }else if(d.verify_status == -1){ }}
            <span style="color:red;">已驳回</span>
            {{#  }  }}
        </script>
    </form>
    <script type="text/javascript" src="../../layui/layui.js"></script>
    <script type="text/javascript" src="withdrawalList.js"></script>

</body>

</html>